/*
 * ModelId.cpp
 *
 *  Created on: 2011-03-21
 *      Author: kamil
 */

#include "mgr/id/ModelId.h"


ModelId ModelId::UNDEFINED(ModelId::_undefined);

ModelId::ModelId(): id(_undefined){}

ModelId::ModelId(int newId) : id(newId){}

ModelId::~ModelId() {}

ModelId::operator int() const { return id; }

bool ModelId::operator==(const ModelId & other) { return id == other.id; }

ModelId & ModelId::operator=(const ModelId & other){
	this->id = other.id;
	return *this;
}
